import javax.swing.*;
import java.awt.*;


public class ToolKitBar extends JFrame{
	
	private int screenHeight = 0;
	private int screenWidth = 0;
	private final int HEIGHT_OFFSET = 411;
	private final int WIDTH_OFFSET = 5;
	private  TinCDCanvas canvas;
	

	
	public ToolKitBar(String toolKitName,TinCDCanvas twoDCanvas)
	{
		super(toolKitName);
		canvas = twoDCanvas;
		
		getScreenSize();
		
		this.setVisible(true);
		this.setSize(550,96);
		this.setLocation(screenWidth, screenHeight);
		this.setResizable(false);
		this.setDefaultCloseOperation(HIDE_ON_CLOSE); 
		/*NOTE!!#@@!*
		 * Make sure to have an option to bring this back if you close it!
		 */
		
	
		
	}

	
	public void getScreenSize()
	{
		Toolkit javaToolKit = Toolkit.getDefaultToolkit();
		Dimension screenSize = javaToolKit.getScreenSize();
		screenHeight = screenSize.height/4+HEIGHT_OFFSET;
		screenWidth = screenSize.width/4+WIDTH_OFFSET;
		
	}
}
